-- GENERATED SPELL FOR [Longhoof Grazer] --


function spell0_26418(pUnit, Event) --@Head Butt,n/a--
pUnit:FullCastSpellOnTarget(42320,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26418', 3276, 1)
end

function Sorts_26418(pUnit, Event)
local choix_sorts_26418 = math.random(0, 0)
if choix_sorts_26418 == 0 then
pUnit:RegisterEvent('spell0_26418', 1, 1)
end
end

function mob26418_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26418', math.random(1500, 3000), 1)
end

function mob26418_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26418_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26418_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26418, 1, 'mob26418_Action')
RegisterUnitEvent(26418, 2, 'mob26418_Leave')
RegisterUnitEvent(26418, 3, 'mob26418_Kill')
RegisterUnitEvent(26418, 4, 'mob26418_Die')
